from config.dynamic_configuration import ConfigurationFactory

conf = ConfigurationFactory.get_configuration()

SERVER_HOST = conf.get('server', {}).get('host', "localhost")
SERVER_PORT = conf.get('server', {}).get('port', "4000")

ENABLE_MSG_NOTIFY = conf.get('heartbeat', {}).get('enable_notify', False)
CLIENT_ONLINE_NOTIFY = conf.get('heartbeat', {}).get('client_online_notify', False)
HEARTBEAT_TIMEOUT = conf.get('heartbeat', {}).get('timeout', 60 * 60)
HEARTBEAT_CHECK_FREQUENCY = conf.get('heartbeat', {}).get('check_frequency', 60)

REMOTE_MSG_HOST = conf.get('remote', {}).get('ex_host', "localhost")
REMOTE_MSG_PORT = conf.get('remote', {}).get('ex_port', 4000)
